package com.kele.base.model.page;

/**
 * @Description: 分页查询参数
 * @Author: Kele
 * @CreateDate: 2023/4/25 20:10
 * @Version:
 */
public class PageQueryParam {

    private Integer pageSize;

    private Integer pageNum;

    public PageQueryParam() {
        this.pageSize = 10;
        this.pageNum = 1;
    }

    public PageQueryParam(Integer pageSize, Integer pageNum) {
        this.pageSize = pageSize;
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    @Override
    public String toString() {
        return "PageQueryParam{" +
                "pageSize=" + pageSize +
                ", pageNum=" + pageNum +
                '}';
    }
}
